import request from '@/utils/request'

// data:{moible,password}  登录
export const login = (data) => request.post('/sys/login', data)

// 获取用户信息
export const getProfile = () => request.get('/sys/profile')

// 修改用户密码
export const update = (data) => request.put('/sys/user/updatePass', data)
